package org.example.reflectandclassloading.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.reflectandclassloading.annotation.Filedtest;
import org.example.reflectandclassloading.annotation.Tabletest;

/**
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Tabletest("tb_student")
public class Student {
    @Filedtest(columnName = "db_id", type = "int", length = 10)
    private int id;
    @Filedtest(columnName = "db_id", type = "varchar", length = 8)
    private String name;
    @Filedtest(columnName = "db_age", type = "int", length = 2)
    private int age;
}
